﻿<div id="createMessage" class="reveal-modal small" data-bind="modalSuccess: addOnSuccess, enterPressed: create">
    <h2>New queue message</h2>
    <form class="custom" onsubmit="return false;">
        <div class="row">
            <div class="large-3 columns">
                <label for="createMessage-content" class="right inline">Content:</label>
            </div>
            <div class="large-9 columns">
                <textarea id="createMessage-content" class="enter-focus" data-bind="instantValue: content"></textarea>
            </div>
        </div>
    </form>
    <div class="row">
        <div class="large-3 columns">
            <label for="encodeBase64">Encode as Base64: </label>
        </div>
        <div class="large-9 columns">
            <input id="encodeBase64" type="checkbox" data-bind="checked: encodeBase64" />
        </div>
    </div>
    <input type="button" class="button" value="Create" data-bind="click: create" />
    <a class="close-reveal-modal">&#215;</a>
</div>
